package org.lib.postgresqlhello.record;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * 动态建表Mapper
 * @author ben
 * @date 2021-11-18 23:29:36 CST
 */
public interface RecordCreateTableMapper {

	@Update(value = "create table IF NOT EXISTS ${tableName}(id bigserial, log character varying(1000) default '', "
			+ "create_time timestamp default now());")
	void createTable(@Param("tableName") String tableName);
	
}
